Skip to content

Bug fix of bond_order_system dump to sdf file#188

Merged
amcadmus merged 35 commits into
deepmodeling:develfrom
Ericwang6:devel
Aug 25, 2021
Merged

Bug fix of bond_order_system dump to sdf file#188
amcadmus merged 35 commits into
deepmodeling:develfrom
Ericwang6:devel

Conversation

@Ericwang6

Copy link
Copy Markdown
Member

Bug fix of dumping to sdf file for bond_order_system and add relevant unit test cases

@codecov-commenter

codecov-commenter commented Aug 25, 2021

Copy link
Copy Markdown

Codecov Report

Merging #188 (c0454c5) into devel (fbf5bd7) will increase coverage by 0.12%.
The diff coverage is 73.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##            devel     #188      +/-   ##
==========================================
+ Coverage   81.24%   81.37%   +0.12%     
==========================================
  Files          54       54              
  Lines        4554     4563       +9     
==========================================
+ Hits         3700     3713      +13     
+ Misses        854      850       -4     
Impacted Files Coverage Δ
dpdata/rdkit/utils.py 61.79% <0.00%> (ø)
dpdata/plugins/rdkit.py 80.64% <60.00%> (+16.12%) ⬆️
dpdata/bond_order_system.py 64.78% <88.88%> (+3.49%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fbf5bd7...c0454c5. Read the comment docs.

@njzjz njzjz mentioned this pull request Aug 25, 2021
21 tasks
self.assertEqual(syst['bonds'][bond_idx][ii], bonds[bond_idx][ii])
shutil.rmtree("bond_order/methane")

def test_dump_to_sdf_file(self):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A similar method test_dump_to_mol_file can be also added here

@njzjz njzjz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By the way, you should remove old commits...

@amcadmus amcadmus merged commit 4fbeab5 into deepmodeling:devel Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants